package org.edu.modules.rewardpublish.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 教职工奖金
 * @Author: jeecg-boot
 * @Date: 2021-03-10
 * @Version: V1.0
 */
@Data
@TableName("ve_hr_jiangli")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "教职工奖金", description = "教职工奖金")
public class HqHrJiangli implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 教师id
     */
//    @Excel(name = "教师id", width = 15)
    @ApiModelProperty(value = "教师id")
    private String teacherid;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String gh;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xm;
    /**
     * 奖励级别码
     */
    @Excel(name = "奖励级别", width = 15, dicCode = " code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='JLJB' ")
    @Dict(dicCode = "modelCode='JLJB' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "奖励级别")
    private String jljbm;
    /**
     * 奖励等级码
     */
    @Excel(name = "奖励等级", width = 15, dicCode = "code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='JLDJ' ")
    @Dict(dicCode = "modelCode='JLDJ' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "奖励等级码")
    private String jldjm;
    /**
     * 获奖类别码
     */
    @Excel(name = "获奖类别", width = 15, dicCode = "code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='JLLB' ")
    @Dict(dicCode = "modelCode='JLLB' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "获奖类别码")
    private String hjlbm;
    /**
     * 获奖日期
     */
    @Excel(name = "获奖日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "获奖日期")
    private Date hjrq;
    /**
     * 奖励名称
     */
    @Excel(name = "奖励名称", width = 15)
    @ApiModelProperty(value = "奖励名称")

    private String jlmc;
    /**
     * 奖励名称码
     */
    @Excel(name = "奖励名称", width = 15)
    @ApiModelProperty(value = "奖励名称码")
    private String jlmcm;
    /**
     * 获奖项目
     */
    @Excel(name = "获奖项目", width = 15)
    @ApiModelProperty(value = "获奖项目")
    private String hjxm;
    /**
     * 奖励方式码
     */
    @Excel(name = "奖励方式", width = 15, dicCode = " code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='JLFS' ")
    @Dict(dicCode = "modelCode='JLFS' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "奖励方式码")
    private String jlfsm;
    /**
     * 获奖原因
     */
    @Excel(name = "获奖原因", width = 15)
    @ApiModelProperty(value = "获奖原因")
    private String hjyy;
    /**
     * 奖励内容
     */
    @Excel(name = "奖励内容", width = 15)
    @ApiModelProperty(value = "奖励内容")
    private String jlnr;
    /**
     * 颁奖单位
     */
    @Excel(name = "颁奖单位", width = 15)
    @ApiModelProperty(value = "颁奖单位")
    private String bjdw;
    /**
     * 荣誉称号码
     */
    @Excel(name = "荣誉称号", width = 15, dicCode = "code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='RYCH' ")
    @Dict(dicCode = "modelCode='RYCH' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "荣誉称号码")
    private String rychm;
    /**
     * 获奖角色码
     */
    @Excel(name = "获奖角色", width = 15, dicCode = " code", dicText = "title", dictTable = "ve_dict_dictdata where modelCode='HJJS' ")
    @Dict(dicCode = "modelCode='HJJS' and code", dicText = "title", dictTable = "ve_dict_dictdata")
    @ApiModelProperty(value = "获奖角色码")
    private String hjjsm;
    /**
     * 系统ID
     */
//    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
}
